﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucListProductsTrangChinh.ascx.cs" Inherits="MyWeb.TrangChinh.UC.ucProducts" %>
<div id="content-main-header">
        <asp:Label ID="lblHeader" runat="server" Text="SẢN PHẨM >>"></asp:Label>
</div>
<div id="main-products">
    <asp:Repeater ID="rptProduct" runat="server" OnItemCommand="rptProduct_ItemCommand">
        <ItemTemplate>
            <div id="main-product">
                 <div id="main-product-image">
                     <asp:ImageButton ID="imgImage" CommandName="Image" CommandArgument='<%#Eval("id") %>'  runat="server" ImageUrl=<%#Eval("Image") %> Width="220" Height="280"  ></asp:ImageButton>
                 </div>
                 <div id="main-product-name">
                     <li><a href="~/TrangChinh/Product.aspx?idProduct=<%#Eval("Id") %>"><%#Eval("Name") %></a></li>
                 </div>                 
                 <div id="main-product-pricenew" >
                     <%#Eval("PriceNew") %>  VNĐ
                 </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    
</div>
